<template>
  <div class="home">
    <h1>在线题目练习</h1>
    <div class="nav-buttons">
      <router-link to="/add" class="btn">录入新题目</router-link>
      <router-link to="/practice" class="btn">开始练习</router-link>
    </div>
  </div>
</template>

<style scoped>
.home {
  text-align: center;
  padding: 20px;
}

.nav-buttons {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 0 10px;
  background: #42b983;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn:hover {
  background: #3aa876;
}
</style> 